\AtBeginSection[]{
  \begin{frame}
    <beamer>\frametitle{Topic}\tableofcontents[currentsection]
  \end{frame}
}

\usetheme{emqx}

\linespread{1}

\usepackage{tikz}
\usepackage{graphicx}

\setminted{fontsize=\footnotesize}

\setbeamersize{text margin left=0.5cm,text margin right=0.5cm}